﻿using System.Diagnostics;
using System.Reflection;

public class VersionHelper
{
    public static string GetVersion()
    {
        var versionInfo = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location);
        return $"v{versionInfo.FileVersion}";
    }

    public static string GetCopyright()
    {
        return FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).LegalCopyright;
    }
}
